package com.cdxy.util;

import com.cdxy.model.dto.base.id.UUID;

/**
 * @Author: tangy
 * @Date: 2020/2/23 19:49
 */
public class IdUtil {
    public IdUtil() {
    }

    public static String randomUUID() {
        return UUID.randomUUID().toString();
    }

    public static String simpleUUID() {
        return UUID.randomUUID().toString(true);
    }

    public static String fastUUID() {
        return UUID.fastUUID().toString();
    }

    public static String fastSimpleUUID() {
        return UUID.fastUUID().toString(true);
    }

}
